package com.coolingme.general.simple;

/**
 * 状态角色测试
 *
 * @author wangyue
 * @date 2020-09-25 23:49
 */
public class Test {

    public static void main(String[] args) {
        Context context = new Context();
        context.handler();

        System.out.println("-----------------");

        context.setCurrentState(Context.STATE_B);
        context.handler();
    }

}
